package com.ruoyi.course.domain.dto;

import java.util.List;

/**
 * @Author: @Weiney
 * @ClassName: DeleteCourseStudentsDTO
 * @Description: 删除课程学生列表DTO
 * @Create: 2025-03-01
 **/

public class DeleteCourseStudentsDTO {

    private static final long serialVersionUID = 1L;

    private Long courseId;
    private List<Long> userIds;

    // 无参构造函数，Spring 框架在反序列化 JSON 时需要这个构造函数
    public DeleteCourseStudentsDTO() {
    }

    // 带参构造函数，方便在代码中手动创建实例
    public DeleteCourseStudentsDTO(Long courseId, List<Long> userIds) {
        this.courseId = courseId;
        this.userIds = userIds;
    }

    // Getter 和 Setter 方法，用于访问和修改类的属性
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public List<Long> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<Long> userIds) {
        this.userIds = userIds;
    }
}